package com.meitianhui.convenitenbuy.module.mine.contract;

import android.graphics.Bitmap;

import com.meitianhui.convenitenbuy.base.BasePresenter;
import com.meitianhui.convenitenbuy.base.BaseView;
import com.meitianhui.convenitenbuy.module.mine.model.ConsumerInfo;
import com.meitianhui.convenitenbuy.module.mine.model.UserInfo;
import com.meitianhui.convenitenbuy.widget.dialog.ShareDialog;
import com.umeng.socialize.UMShareListener;
import com.umeng.socialize.media.UMImage;

/**
 * Created by amy on 2017/11/2.
 */

public interface MineContract {

    interface View extends BaseView<MineContract.Presenter>{

        void getUserInfoSuccess(UserInfo userInfo, ConsumerInfo consumerInfo, String consumerAddress);

       // void setUserPhoto(List<StoreImageBean> storeImageBean);

        void setUserBackground(Bitmap blurBitmap);

        void dismissDialog();
    }

    interface Presenter extends BasePresenter{
        void getUserInfo();
        void imgUrl2Bitmap(String doc_path);

        ShareDialog.OnShareClickListener shareListener(UMImage umImage, UMShareListener shareListener);

        void logOut();
    }
}
